package com.group.doctor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group.doctor.entity.DoctorFans;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author KAGE
 * @since 2022-06-07
 */
public interface IDoctorFansService extends IService<DoctorFans> {
    /**
     * controller层分页查询的接口
     * @param current 开始页
     * @param size 每页数据量
     * @param id 医生id
     * @return 医生粉丝集合
     */
    List<DoctorFans> list(int current, int size,int id);
}
